package com.ydy.common.vo;

import java.util.Set;

public class UserRoleMenuPermissionVo implements Comparable<UserRoleMenuPermissionVo> {

    private String id;

    private String label;

    private String childrenId;

    private String isCheck;

    private Set<UserRoleMenuPermissionVo> children;

    public UserRoleMenuPermissionVo() {
    }

    public UserRoleMenuPermissionVo(String id, String label) {
        this.id = id;
        this.label = label;
    }

    public UserRoleMenuPermissionVo(String id, String label, String isCheck) {
        this.id = id;
        this.label = label;
        this.isCheck = isCheck;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(String isCheck) {
        this.isCheck = isCheck;
    }

    public Set<UserRoleMenuPermissionVo> getChildren() {
        return children;
    }

    public void setChildren(Set<UserRoleMenuPermissionVo> children) {
        this.children = children;
    }

    public String getChildrenId() {
        return childrenId;
    }

    public void setChildrenId(String childrenId) {
        this.childrenId = childrenId;
    }


    @Override
    public int compareTo(UserRoleMenuPermissionVo o) {
        return this.id.compareTo(o.id);
    }
}
